import xadmin
from .models import Banner
from xadmin import views

class GlobalSettings(object):
    """xadmin的全局配置"""
    site_title = "路飞小学城"  # 设置站点标题
    site_footer = "路飞小学城有限公司"  # 设置站点的页脚
    menu_style = "accordion"  # 设置菜单折叠
xadmin.site.register(views.CommAdminView, GlobalSettings)

xadmin.site.register(Banner)
